<script type="text/html" id="city">

  <ul>
     <%for(var i=0;i<data.length;i++){%>
          <li>
						<p><span></span></p>
						<h2><%=data[i].title%></h2>
						<p>
						<%for(var b in data[i].mainCity){%>
							<a href=""><%=data[i].mainCity[b]%></a>
						<%}%>	
						</p>
						<p><span></span></p>
					</li>
     <%}%>
   </ul>
  
 </script>